﻿using System.Configuration.Provider;

namespace NCMIS.Provider
{
    /// <summary>
    /// Represents a collection of Policy Provider objects that inherit from <see cref="NCMIS.Provider.PolicyProviderBase"/>.
    /// </summary>
    public class PolicyProviderCollection : ProviderCollection
    {
        /// <summary>
        /// Creates a new instance of an Policy Provider object that inherits from <see cref="NCMIS.Provider.PolicyProviderBase"/>.
        /// </summary>
        /// <param name="name">The name of the provider to instantiate.</param>
        /// <returns>An instance of an Policy Provider object that inherits from <see cref="NCMIS.Provider.PolicyProviderBase"/>.</returns>
        new public PolicyProviderBase this[string name]
        {
            get { return (PolicyProviderBase)base[name]; }
        }
    }
}